package net.jjjshop.common.entity.lbt;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("lb_user_bank")
public class LbUserBankEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "小程序id")
    private Integer appId;
    private Integer uid;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @NotNull(message = "姓名不能为空")
    private String realName;
    /**
     * 银行名称
     */
    @ApiModelProperty(value = "银行名称")
    @NotNull(message = "银行名称不能为空")
    private String bankName;
    /**
     * 银行卡号
     */

    @ApiModelProperty(value = "银行卡号")
    @NotNull(message = "银行卡号不能为空")
    private String bankCode;
    @ApiModelProperty(value = "时间")
    private Date createTime;

}
